package com.nononsenseapps.feeder.theme



import com.gitee.wsl.common.ui.theme.Theme


val appTheme by lazy {
   Theme.defaultTheme()
}

/*val defaultTheme = Theme{
        typography {
            h1 = h1.merge {
                alpha = 10f
            }
            h2 = textStyle{
                alpha = 10f
            }

        }

        colorPalette {

            factory {
                when (it) {
                    "etwee" -> Frappe()
                    else -> Frappe()
                }
            }

            factory(DefaultColorPaletteFactory())

        }
    }*/

/*
val sampleSubTheme = theme(appTheme){

}

val htmlTheme = htmlTheme(sampleSubTheme){

    //每一个 on 都是一个 subtheme
    on("li"){
        color {
            base=red
        }
        on("lu"){

        }
    }
    on("table"){
        color {
            base=yellow
        }
        on("tr"){

        }
    }

}


fun textTheme(){
    val f = appTheme.typography.body1.merge {
        this.alpha=16f
    }
    f.color.value
}

class FeedinTypography*/

